﻿@{
    ViewData["Title"] = "DeleteProduct";
}
@model OnlineStore.Models.Product

<h1>下架图书</h1>


<table class="table">
    <tr>
        <th>书名：</th>
        <th>作者：</th>
        <th>出版社：</th>
        <th>类别：</th>
        <th>ISBN：</th>
    </tr>

        <tr>
            <td>@Model.Name</td>
            <td>@Model.Author</td>
            <td>@Model.Publisher</td>
            <td>@Model.Type</td>
            <td>@Model.Isbn</td>
            <td>
                <form asp-action="DeleteProduct" method="post">
                    <input type="hidden" name="id" value="@Model.Id"/>
                    <input type="submit" class="btn btn-primary">
                </form>
            </td>
        </tr>

</table>